package net.similarsu.device.sdk.dah.struct;

import com.sun.jna.Pointer;
import com.sun.jna.Structure;

import static net.similarsu.device.sdk.dah.library.DahLibrary.MAX_EVENT_ID_LEN;

@Structure.FieldOrder({
        "szEventID"
        , "byReserved"
})
public class NET_EXTENSION_INFO extends Structure {
    public byte[] szEventID = new byte[MAX_EVENT_ID_LEN];                // 国标事件ID
    public byte[] byReserved = new byte[80];                             // 保留字节

    public NET_EXTENSION_INFO() {
        super();
    }

    public NET_EXTENSION_INFO(Pointer pointer) {
        super(pointer);
    }

    public static class ByReference extends NET_EXTENSION_INFO implements Structure.ByReference {
    }

    public static class ByValue extends NET_EXTENSION_INFO implements Structure.ByValue {
    }
}
